package org.erp.spu.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableLogic;
import lombok.Data;
import org.erp.common.basic.BaseEntity;

/**
 * 属性表(SpuAttribute)表实体类
 *
 * @author dingding
 * @since 2025-11-06 09:13:43
 */
@Data
public class SpuAttribute extends BaseEntity{

//属性id
    @TableId(type = IdType.AUTO)
    private Long id;
//属性名称
    private String attributeName;
//父级id
    private Long parentId;
//父级名称
    private String parentAttributeName;
//是否为父集 0否1是
    private Integer type;
//状态 1启用 0禁用
    private String status;
//逻辑删除 0存在 1删除
    @TableLogic
    private Integer delFlag;



}

